import { reqDictOptionselect } from '@/api/system/dict/data.ts'

export interface SysDictType {
  dictId?: number
  dictName: string
  dictType: string
  status: string
  createBy?: string
  createTime?: string
  updateBy?: string
  updateTime?: string
  remark?: string
}

export interface SysDictData {
  dictCode: number
  dictSort: number
  dictLabel: string
  dictValue: string
  dictType: string
  cssClass: string
  listClass: string
  isDefault: string
  status: string
  createBy?: string
  createTime?: string
  updateBy?: string
  updateTime?: string
  remark: string
}

export interface reqDictOptionselect extends ResponseData {
  data: {
    dictTypes: SysDictType[]
  }
}

export interface reqDictDataPageList extends ResponseData {
  data: {
    list: SysDictData[]
    total: number
  }
}
